package com.scvtc.service.comprehensive;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scvtc.domain.ResResult;
import com.scvtc.domain.dto.comprehensive.ComprehensivePolicyDocumentDto;
import com.scvtc.domain.entity.comprehensive.ComprehensivePolicyDocument;
import com.scvtc.domain.vo.PageVo;

import java.util.List;

/**
 * 综合模块(ComprehensivePolicyDocment)表服务接口
 *
 * @author yiFei
 * @since 2022-04-13 17:38:27
 */
public interface ComprehensivePolicyDocumentService extends IService<ComprehensivePolicyDocument> {
    /**
     * 查询所有政策文件
     *
     * @param current
     * @param size
     * @param comprehensivePolicyDocumentDto
     * @return
     */
    ResResult<PageVo<List<ComprehensivePolicyDocumentDto>>> getAllPolicyDocument(Long current, Long size, ComprehensivePolicyDocumentDto comprehensivePolicyDocumentDto);

    /**
     * 添加单个政策文件
     *
     * @param comprehensivePolicyDocumentDto
     * @return
     */
    ResResult<?> addPolicyDocument(ComprehensivePolicyDocumentDto comprehensivePolicyDocumentDto);

    /**
     * 修改单个政策文件
     *
     * @param comprehensivePolicyDocumentDto
     * @return
     */
    ResResult<?> updatePolicyDocument(ComprehensivePolicyDocumentDto comprehensivePolicyDocumentDto);

    /**
     * 删除单个政策文件
     *
     * @param id
     * @return
     */
    ResResult<?> deletePolicyDocument(Long id);

    /**
     * 删除多个政策文件
     *
     * @param ids
     * @return
     */
    ResResult<?> deleteMultiplePolicyDocument(Long[] ids);
}

